Added mean- and max2epochs

Modified sleep.m