moved plotting utils from solver to tools