Text this: A Software Decoding Error Compensation Method for Resolvers in Automotive Electric Drive Systems