I recently finished my PhD thesis and is now available online. Most of the code related to the thesis is available in this repository.
Abstract