Sample: Adding chunking for cross-validation.

And fixing the order that the `parse-line` helper returns its pairs in,
to fit how the labels are represented in the perceptron algorithm.
Vec: Vector Average helper.