Continuous neural network with windowed Hebbian learning