Remove the min/max functions in CommonFuncs.

The algorithm header defines these, so it seems a little redundant to keep these.