set NaN- and Inf-matrices to 0, added running tests
added PotentialCollapse. ToDo: update costs and blah
Um. Moved the whole shit to QSlim. As already proposed in the code. Should learn reading...