Added I/O functions

I/O now outputs with timestamps, RMSE attached