Principles of Motor Rotation and Power Generation