Completely rewrote CheckCollision

Can now correctPosition and check for sides properly.