At MIT, Medaglia is working with data scientists and programmers to connect the dots between government policies and their tangible effects in the environment, translating money and politics into carbon emissions and metrics that people can understand.