Quantitative organizational modeling and design for multi-agent systems