Add overload for Substitute(MathObject a, double b)