Function to convert deg to meters (needs work)