reference and other fixes
cut notebook
Merge branch 'master' of https://github.com/sauliusvl/phd-thesis