fixup! fixup! implemented scalar function log(x), log(b,x) and ln(x)