Fixed whitespace, added some comments, worked on Gps positioning.