Assessing and Improving the Accuracy of Energy Analysis for Residential Buildings