Added a mean field integration class.