creating gaussian model