Updated time to maturity algorithm now functions correctly.