changed RSD to ensure it is ex post Pareto efficient. changed original implementation of maximize social welfare to ensure that teams sharing an agent must be identical. updating theory code