added local versions for lmfit files that need to be modified for my needs, furhert smaller updates