fix baseCheck.f bug

modified baseCheck.f from @mjberger, fixes bug observed in geoclaw run where level 6 was not properly nested, and more generally seen with bounds check turned on