Removed netCDF4 dependency by including num2date