added a cluster calculation test script