Fixed typo in vector formulation of cosine rule 

Fixed type on line 54, changing |v^2| to |v|^2
Merge pull request #8 from IzzyRahaman/master

Fixed typo in vector formulation of cosine rule