initial work plotting  ks tests with sliders