Implemented 'WRAP'
Added some debug output
Added NDEBUG macros around debug output
Fixed print_wrap
Bugfix for evaluation of 'wrap'