Added more Min, Max functions to math_functions.h