Fixed Min() and Max() functions, added functions to offset by x or y,
producing q=f(x+n) or q=f(x)+n, given a piecewise p=f(x).  Started writing
the code to calculate min search cost.