get distance from a point

def distance_from(self, lat, lon):
        '''get distance from a point'''
        lat1 = self.pkt['I105']['Lat']['val']
        lon1 = self.pkt['I105']['Lon']['val']
        return mp_util.gps_distance(lat1, lon1, lat, lon)