A local analysis of N-sector capital accumulation under uncertainty