factored out the part where we project the independent samples onto the random basis and use that to set variances
if cannot get all the eigen vectors, try to get some of the eigen vectors
forgot to remove some code
try printing some more useful information to the diagnostic file