First pass at using k-means to cluster the pulse-phase and latch-phase tests.