A method for the numerical evaluation of an integral: Occuring in the expression for the wave drag of slender bodies