Creates a simplicial complex for a grid