How Smart Glass Can Improve Energy Efficiency in Homes