Implemented two new min_max function:

- min_max_indices finds what the minima and maxima are over the time interval specified for the indices.
- min_max_f does the same thing, except instead of specifying the indices, you can specify a function whose input is the current line.

Also modified Cool Roof.nb to double check these two functions.