added .gitignore for data.mat, added spike_fcn.hpp