Almost working gaussian