added vec3, start of latticedemo