added failing NaN test for fmin
fixed agrad/rev/fmin so gradients return NaN when input is NaN
added failing NaN test for agrad/fwd/fmin
fixed agrad/fwd/fmin so derivatives return nan for nan input
added doc for fmin