most compilers seemed not to manage to remove asserts in marray when NDEBUG is set. This is fix with this commit and can lead to speedups of 3 for LBPgit status Thanks to Jason Pacheco for pointing this out.
some clean ups, maybe minor speedup
Merge pull request #253 from joergkappes/master

minor changes for speed up code