Characterizing the Torque Lookup Table of an IPM Machine for Automotive Application