Move Max/Min from SGVector to CMath

I'd say that now the unit tests for min and max methods make more sense in CMath rather than in SGVector, what do you think?