https://numbas.mathcentre.ac.uk/question/49141/matt-s-copy-of-ex-6-cofactors-determinant-and-inve/embed/