measuring distance instead of errors for evaluation