added hill equation fitting