fixed bug in GraphicalModels.m2 that prevents a gaussianRing to be called inside a function