Added calculations for the misc debt, and uncommented all the calculations