Commented portions I worked on that needed explaining.