Add tests for VariableLengthintArray. Add different distance calculators.
Upgrade tests to junit 4.
Put tighter bounds on test criteria.