added getSubtendedAngle to triangle and shape class