computing RMSE elsewhere