Inner boundary cells treated in boundary_val.c

In boundary values and calculate fg, boundary values must be assigned to
the boundary cells defined by the flag array. Also added the Flag
argument to both the boundary and uvp header files. Changed main.c also
to call the function correctly.