A new algorithm for finding rational first integrals of polynomial vector fields