Added 3 methods for the MeanAbsoluteValue class