turned compile-time static sizing of matrices into dynamic sizing at running time with Eigen