Added ncdf_assert routine to check the existance and values of variables.
Currently it implements checking of integers [i0,i1,i2] and reals [s1,s2,d1,d2].
We have added checking the dimensions in the tests.