Made the collision code a little neater a started working on wall sliding