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 I have added these tests here 'cause you suggested to use the data available.