added dms to deg, need to remove globals and return arrays