Added Support for plotting results
added shadow flag for plot
removed commented code