Fix bugs reported by G. Skinner
 - 2d datasets are inverted in y when using gridatedge
 - y coordinates in data edit dialog are inverted for 2d datasets