switched off debug code

Switched off debug code by defining NDEBUG
in order not to annoy users of the library by default.