Do proper rounding when calculating direction
Merge pull request #10 from dorkster/fp_movement

Do proper rounding when calculating direction