Tried updated with some of Thelma’s older code.  Set up to compare maxima