trying to fix Sidabc cos law formulas, at last test run angles A and B equalled 180 degrees (very false) and angle C equalled 90 (possibly correct)