A kurtosis-based wavelet algorithm for motion artifact correction of fNIRS data