dont push this
commiting because its making me
master code
fixed localization (added more casting to floats)