How to cube a joystick controll to make a non-linear motor movement in python