Update ErrMet.pyx

Comments on the improvement of code