removed a debug print from earlier commit
removed some halting by messing with kernel dimensions