added SetVal() to TVec to support value changes in Snap.py