Grid development

Added the marching cube inside/outside algorithm. Integrated into GUI.