spike_loc gives the same results as Matlab
The matlab code generates .validation files, which are read in during unit testing. The current testing shows that the matlab results agree with the python function.