Improves min() and max() functions so they work for any number of arguments.

Will take any amount of numbers, vectors or range parameters, and return
the single smallest scalar value.