The Set Partitioning in Hierarchical Trees Algorithm for Data Compression in Ambulatory Electroencephalogram Systems