First Commit
MatrixtoInstance method added