added a boost root argument per @zwelchWI's request. @scopatz or @carlsen, this is ready to go.