Add distortion measure