An Optimal Methodology for Net-Zero Energy Building Design