[UPDATE] included chart generator for fig 2.