Analysis and Design of Electric Machines Using 2D Method of Moments