triangle function was not working before. works now and only requires 2 sides and the angle between them, and calculates area via sine rule and heron's formula