Root Mean square error code added. code to be able to run epochs added