fixed error in surface_integral