Rewinding of Motor and Generator