Update GraphicalModels.m2

Update discreteVanishingIdeal method to properly use Graphs.