Move arg_max/max_abs/arg_max_abs/arg_min from SGVector to CMath

I noticed that max_abs and arg_max_abs are never used anywhere in the code. Should I remove them entirely from the library?
If you are going to keep these methods in this PR, please move the implementation to the cpp file (and also the include lapack above).