Completed first version of uamasterthesis plus additional changes

- first version of uamasterthesis
- corrected copyright watermark
- changed programme descriptions to use codes and error checking
- removed final appearances of kdg