cutData function

Function to split data in different ways for conditioning