tried fixing lag, fixed small bugs

added rounding and made timestep super global