Fixes and improvements for SEM-PLS analysis. This version contains debugging code for investigating current issues. TODO: fix issues and clarify correct use of ordered factors in 'plspm' package.