Axial Flux Permanent Magnet Machine Desing and Optimization Using Multi Layer 2D Simulation