Newperiod

Error fixed while running mls-analysis.R with the option -r.