add function: distortion measure