trace plot
move convenience plotting stuff
raise error if any tail bit is nan