Update to motor functions to troubleshoot motor calc