changed velocity vector to integer values