Small changes in conditions for FG

Removed printing the flag to vtk file and changed conditions to check
for boundary values.