Supplementary file for node/13766 (The Appendix contains source code for the software programs discussed in the thesis.)