Function to check how far off route you are, must add check paramter in location listener