RMSE function

Compute the root mean square error for all models