added tan function in trigonometry