Methods of contour integration