THE KERNEL FUNCTION IN THE SURFACE POTENTIAL FOR A HORIZONTALLY STRATIFIED EARTH