Electrical rotating machinery