Paper published in Pattern Recognition Letters