Minor fixes and additions for transcendental functions (#1612)