prototype function for calculating gzz by using kernelzz
insert if sphere is None: continue in kernel functions