A New Method to Measure the Switched Reluctance Motor's Flux