ENH: Allow meshgrid to work for 1D and 0D cases.