implemented log, sin, cos, tan procedure for user space