What is a debt-to-income ratio and how does it affect mortgage approval? Learn how lenders calculate DTI and what you can do to improve it before buying a home in California.