Relying on eigen3 for matrix-matrix multiplication stuff. Will replace later when this gets inside linalg.