use old version of fast, but it crashes when I run matlabbatch, I'll investigate
go back to using fasst, but compare with old fast
small change to use fasst now
try to use spindle detection in batch, it's obvious this hasn't been used in a long long time, as the files where sp is  a submenu of wavedetect were in a email at the beginning of 2011...
add functions from fast toolbox (only a few), so that it runs without batch
use own function to create chunks, it's all based on fast. it needs to be tested on all the participants, especially number 14
ready to run everything, apart from spindle detection
old fast should work, with subset of functions. However, chunking and slow waves are good, spindles are not the same.
change to fast toolbox: somehow, one of the datasets (for subj 14) did not have a score, so the detection algorithm could not find slow wave sleep. It now uses the whole file, we create a score on the fly.
ready to run the whole analysis, spindles are still different, I wonder if it makes a difference.
it works with detection of spindles, results are comparable to previous main findings (also PPI). The small changes are probably due to spm8 that changed how it treats fields in D.other
added functions to detect heart beat
complete analysis (from raw data) works perfectly (cingulate in PPI)
MERGE: USING FUNCTIONS FROM ORIGINAL FASST TOOLBOX, it doesn't use the external fasst toolbox