Adding bar plot, fixed some bugs with image rendering (specifically missing imports for numpy and color map)