Modeling And Control Of Switched Reluctance Machines For Four-Quadrant Operation