Fix function indent.
FIX: Wasn't recalculating net input after each tick