Updated jellybean plot code, still WIP