Writes Storage Matrix to XML

This update just writes the storage matrix to an XML file so the results
can be checked.