Design, Prototyping and Testing of a Rotating Electrical Machine with Linear Geometry for Shipboard Applications