Broke up ball detection and ball sorting. Should be called as BallSortState.step(BallDetectState.step(ballThresh), greenThresh) in order to detect and then sort if detected.