Removed the last nasty Eigen dependency in the matlab wrapper