some quick tweaks to feedforward() and getGradient() in BMLNNV