Development and implementation of novel sensor fusion algorithm for occupancy detection and automation in energy efficient buildings. (January 2019)