Added documentation for errorbars fitting procedure, paste from lmfit