Removed velocity variable
Changed variable types from double to float
Added setters for absolute values instead of offsets