Fixed the fits for dynalene, only python code edited so far.