Fixed bug in bar plot computation
Updated plot