EHN max and min for signal

create max and min similar to mean
Merge pull request #73 from pburdet/ENH_max_min

EHN max and min for signal