Fixed divide by zerodrama and added in 'Maturity Checking'
Fixed divide by zero and added maturity checking