Added Prediction error functions to metrics