Now returns accleration 0 when 0 desired velocity would cause a ZeroDivisionError