return calculate angle to original method and remove angles as properties of Triangle object