DEP: Replaced arr->nd with PyArray_NDIM in fortranobject.c
DEP: replaced arr->nd with PyArray_NDIM in C code generation scripts