Advanced Controls for Intelligent Buildings