adding code to generate experimental inputs with common random numbers. splitting into packages.