http://www.cryst.bbk.ac.uk/PPS2/course/section10/index.html
see also Instructions for Week 19 at
http://www.cryst.bbk.ac.uk/PPS2/assignments/week19.html