better error plot
better plot
prettied up plot and code