Added support for N-dimensional topology via _getNeighborsND. Implemented update minimum duty cycles