Calculate Aave/Compound lending health factor and collateral drawdown safety buffer from collateral, debt, and liquidation threshold.