Design of a Synchronous Reluctance Machine for a Flywheel-Based Energy Storage System