Fixed swiping for all four cardinal directions.

- Added GestureMath.Hypotenuse
- Fixed angle tracking to use a 0 - 360 degrees
- Fixed averages