gradient check seems to work.., at least without maxPooling