changing from c/gsl to cpp/Eigen, stripping a lot of components in the process
fixed some warnings