Slight update

Changed the updating of v, I think this might actually be more correct.
No visible differences.