removed some typos
helper function to check if the velocity datas are correct.