MaxN and MinN

Two implementations of MaxN and MinN -- one with immutable data structures and one that is in-place. I'd like to benchmark against typical ranges of # of rasters and their sizes to see how they perform before deciding on one.