Statistics for K-Complex detection algorithm in non-REM sleep