move finalizeMatrixAssembly() into namespace MathLib
Merge pull request #151 from norihiro-w/move-finalizeMatrixAssembly-to-MathLib

move finalizeMatrixAssembly() into namespace MathLib