fixed missing dt in nuvec_from_tvec