Complete MVP Model; update working getDiagonal function.
Merge pull request #9 from Gunga/modelling

Complete MVP Model; update working getDiagonal function.