Adds custom kernels to invmed.cpp. Fixes the gaussian functions for normalization. Syntax fix in invmed_tree.txx