Altered the "mean" example to create a set of "inverse" functions