fixed PIL handling in patch_viewer.py
set the stepping stone for probablistic max pooling
forward pass works, pass the tests, and is twice as fast

P and H separated in different ops
base for grad

change branch

in middle of gradient mess

new attempt for graident
grad working, hell yeah!!!
profile added
more testst
cuda code cleanup

typo fix

deleted main from test
name change