Changed Linearization in appendix to account for multiple agents and new state variables