Switched reluctance motor (SRM) - controller and driver