added limit error checking

added checking for max velocity, then randomize if threshold is
exceeded.