tweaked the clearWeights() impl in BNNV