Pre Chalkulous 2014 - Law of cosines