Similar Items: Automatic clustering with application to time dependent fault detection in chemical processes