pmax function

Parallel maxima and minima for sprays