surface integral using divergence theorem