made simulation time more scalable by, writing spike data to hard disk every second