improvements to distance computations from SequenceCollection and Alignment objects