Added some priliminary lat/long calculation code