Fixed bug in Topography.read_header where N is used instead of N-1 to compute extent