Extracted additional data transformation functionality from the PLS-SEM test module and missing data handling module. Moved code for all that functionality to the corresponding module in the "prepare" directory ("transform.R").