need to flipud Y and dz when reading topo_type==1. Also fixed plot to use X,Y rather than x,y