fix the variable scope in the new forwardPass function
fix the variable scope in the new forwardPass function

Warvito/pydeeplearn,mihaelacr/pydeeplearn,snurkabill/pydeeplearn,snurkabill/pydeeplearn,Warvito/pydeeplearn