This is a program repo for self-use from 2013 when my phd started