Finding trigonometric ratios from a point on the unit circle