Move mean/linspace from SGVector to CStatistics/CMath respectively

@iglesias Turned out that `SGVector::linspace_vec` was being used at one place, so I didn't remove it.
@iglesias yeah even i noticed this :-D but then I thought it might mean 'cumulative' or something like that. Anyways, I'll change it and make it sum.