added magneticVariation to navigation object, added altitude to location object and changed definition of longitude and latitude