working on better gauss filter