Computer Aided Design of Permanent MagnetLinear Synchronous Generator