numerical integration on x and y axes