Fix typo
Update grid internal representation; draft code to generate minim from grid; still needs Minim graph generator module and testing