a fix for nan values in vt
test finally passes with 0 noise