now angle finding method for triangles works