added some threshholds for the command velocities