A wavelet based method for automatic detection of slow eye movements: a pilot study.