Merge pull request #2641 from sanuj/feature/SGVector_cleanup

Implicit Template Arguments in CMath::min and CMath::max
Move arg_max/max_abs/arg_max_abs/arg_min from SGVector to CMath