Sorted out GPS location with the help of an external library.