CRNtoTS.R to convert .crn files to ts objects (used to save as .csv)