High resolution rotor angle estimation for permanent magnet synchronous machines with Hall effect position sensosers using neural networks