surface modeling calculations