changed range function indexing: Ngrid in range(1,int(ncells)) to for Ngrid in range(1,int(ncells)+1). range final argument in final argument -1. see https://stackoverflow.com/questions/4504662/why-does-rangestart-end-not-include-end
changed range function indexing: Ngrid in range(1,int(ncells)) to for Ngrid in range(1,int(ncells)+1). range final argument in final argument -1. see https://stackoverflow.com/questions/4504662/why-does-rangestart-end-not-include-end

joelfiddes/topoMAPP,joelfiddes/topoMAPP,joelfiddes/topoMAPP