http://www.cryst.bbk.ac.uk/PPS2/course/section11/index.html
see also Instructions for Week 21 at
http://www.cryst.bbk.ac.uk/PPS2/assignments/week21.html