Add mean error versus k