adding lmfit