intergrates VR with torus translation code and generalizes for subset factors of replicates
adds testing for variance ratio