Finding the value of an angle