Add errorbar plots and curve fitting