Daniel Jones agrees to deal with Vikings