modified the initNeighbors and updateMuArr, now the program can work
with climate input data