Updated debt calculator