Error metrics: clean up, added MAE.

Related with issue #14.