RMSE function

Root Mean Squared Error