The Margrave tool for policy analysis