Added mse, rmse and mae error functions