Added more randomness into the coeffcient of determination tests.