Dynamic arrays

Support dynamic arrays on the backend. For FORTRAN, support adjustable
array sizes in sub-procedures.