Class MixedModelDistance