LSA-TR, MemInfo, matlab:PottsModel

* implement LSA-TR 
* implement MemInfo (currently used in Timming Visitor only - if any problems occur please report immediately)
* add efficent interface in matlab to load and store Potts models or second order binary models