how to calculate contactor rating for motor