Fix initialisation of distance matrix in original implementation.

The original implementation was relying on the (output) distance
matrix, provided by the caller, to be initialised to zero!
Fix imaginary distance value when comparing two identical trains.

This bug, as well, comes from the original implementation.
Add benchmark against spykeutils as a proper unit test.