Move Max/Min from SGVector to CMath