Something is fishy in line 99-113

v-v_old is perpetually 0.5 for some reason; the rest seems to be acting
as expected.