Changes for plotting bias
Lots of additions, changes, refinements. Good stuff.