test fix dimension of gaussian matrix