Updated the code based for including nilm algos