Phd student at Norwegian University of Science and Technology Thesis: Sensorless Control of PM machines