Updated vdet-finding algorithm.