added auto-conversion to complex at some numeric funcs