Fix a bug in parallel coordinates.

When lines were shown without splines, an addition line was drawn,
connecting the value of the first example on the last axis with the
value of the next example on the first axis.
Refactoring.