matlab code for analyzing spike data collected with pldaps