[DynareDev] returning arrays from fortran function to C