elastic net for spikes now working