An incremental algorithm for discovering routine behaviours from smart meter data