Tweak jump mechanism

Check for velocity accurately; now maximum velocity cannot be exceeded
by jumping.