added nilm algo