add dimension to uniform2d in uniform2d.c and uniform2d.xml