Replaced PrintMatrix() with ToString()

Replaced the PrintMatrix() method which was not working with a working
ToString() method. The ToString() method is just a raw version and needs
better refactoring. No changes were made to the documentation because of
that.