Fix error in implementing log a base b in MathView