ERRATUM. In the original published versions of Appendices 1 and 3, a number of the equations were missing characters (principly minus signs). The corrected appendices are provided in full through the links below.