made julian function into sapply statement to speed it up. Put it inside DateConvert.