Now using Vector2d in swiping

IN order to make things less arduous and long I implemented a simple
vector2d Class with normalize and simple algebra operators. Should
extend this to be used across the program
Before trying to change everything to vectors

A save point to go back to. If vectors turn out to be a bad idea, I just
revert to this commit and then can do a little bit of additional
cleaning to remove the class entirely.
Posssibly finished with vector changes

Ideally it will just work now, But I think it's unfortunately fairly
likely that these changes have introduced a number of bugs, so we'll
just have to see.
Collisions now work, swiping is still working poorly

Fixed the bugs that existed with colissions and movement. Now it seems
to be at the same state as during the "Before trying to change
everything to vectors".