Added code for error bar value generation
Added code for error bar value generation
Minor modifications to ErrorBar code