All motor winding formula calculations