Rotating Magnet and Generator