na_max function

Safe min and max functions that return NA if all values are NA