A technique for detecting structure in cluster velocity distributions