still trying to work out bugs with determining angles.

I think i’m running into some sort of rounding issue, not quite sure
though.