Avoid out-of-range access for the method getDecomposition.
Cleanup.
Add a method that returns the content of the sot as a string.

This can be useful to manage the sot via the python interface.