kernel functions for sphere and polyprism

Both the doctests and the html in fatiando\doc\_build\html are ok