Added functions to extract spikes such that the phases are also included. No spike sorting functionality. Need to come up with some options….