Updates

1. Time series model in R
2. Fixed some bugs for csv file manipulation