Factor out Vec3 as a separate file.

Vec3 is now implemented in circlestudy.Vec3 rather than within Trial.