grapher Generic eval function NaN and Zero fix