made velocity_x and velocity_y accept decimals as well as ints as set types