fix compiling errors due to deleted MatrixBase
Merge pull request #142 from norihiro-w/fix-matrixbase-error

Fix compiling errors due to deleted MatrixBase.