Single Trial Detection in Encephalography