fixed error representation in plots
fixed error representation in plots
updated documentation