I had forgotten to set limits to the weights, now the voltage doesn't go negative, but the net voltages stop spiking