fixed bad vector size in Kappa_LinFlow