Add angle caculation in right triangle