This work was part of an academic project that was until recently hosted on the ArcGIS site. I've copied it here as it seems to no longer be available.
Please see report/geog5804.proj.pdf
for a full report (introduction, how to use the tools, how to set up the webservice, etc.)