fix fortran interface of allocatable array eig_vec