Cleaned up gripperController calculations.