Fix linear indexing support in matdump
Fix linear indexing support in matdump

* tools/matdump.c (slab_select_valid): Do not set edge in the beginning
      of rank==1 and edge < 0 condition because it is handled later

* tools/matdump.c (read_selected_data): For 1-D case, make matvar 2-D with
      with all points in first dimension

CBL-ORION/matio,NJannasch/matio,martinichka/matio-coder,MaartenBent/matio,MaartenBent/matio,MaartenBent/matio,tbeu/matio,tbeu/matio,MaartenBent/matio,telehan/libmatio,NJannasch/matio,CBL-ORION/matio-sf-mirror,martinichka/matio-coder,martinichka/matio-coder,tbeu/matio,tbeu/matio,CBL-ORION/matio-sf-mirror,telehan/libmatio,CBL-ORION/matio