Fix error message tag in smoothDistancePenaltymex