Check out my PhD dissertation here: