Implemented mirror flag for summation and integral
Stopped building debug builds with -Og

This optimized out some variables I wanted to check in gdb