Added files from Peter Williams' ucastrothesis git repo.