The surface singularity or boundary integral method applied to supercavitating hydrofoils