debugging wave, added DUMP template

* added DUMP debug template for printing expressions
* wave gives some more information on debugging, solution of M seems to
blow up, will be testing it on another machine while keeping coding,
therefore the commit