Appendix A. Detailed mathematical description of the model.

Detailed mathematical description of the model.