https://numbas.mathcentre.ac.uk/question/39011/derek-s-copy-of-calculate-pearson-correlation-coefficient/embed/