added a asEigenMatrix() member function to turn an LMatrix or a TimeSeries object into an Eigen::Matrix object