Fixed an issue wiht estimating half-life, and fixed another issue making the script traverse more commits than it was neccessery