add min and max functions for univariate distributions