added inverted laplace distribution-like function makeTemplate