input validation and cerversion for lat,log

deg:min:sec, deg min sec, deg:min.dec and deg min.dec ==> dec