Unrolled loops in tc_vec3d.h