Solved the angle problem