Updated all plotting routines. Now works with the chains in memory