Changed index operator from [] to () in DenseMatrix.