Plot updates - added plots, simplified code - added logScale option