ENH: splitData divides data to training and testing sets.
Fixed spacing.