[appendix B-D] \phi -> \theta_3
[appendix] Sync notebook with appendix. All tests pass.