Support functions for packages VBmix, semisupKernelPCA, and