minor reformatting
moved functionality of clearing all static counters, not limited to MATLAB interface anymore
removed the dimension argument from function 'returnLowerTriangular'