Added bug maturity as factor when calculating pain.