Incorporated Lev's abstracted sum of gaussians generator