squared distance measures for model evaluation