function mg = grid_hierarchy(coarseVertices, refinements)


mg = {};

n = coarseVertices;
mg{1} = linspace(0,1, n)';

for i=1:refinements
    n = n + (n-1);
    mg{1+i} = linspace(0,1, n)';
end

