Remove the notion of dimension, as it does not provide useful information to compute the comparison.
Add an optimization-based sample.
Replace BSD license by CC0.