Finished refactoring SEM code for consolidation of SEM analysis for different types of models. Temporarily disabled boostrapping until the issue is fixed (TODO). Will remove corresponding files when absolutely sure everything works AND after integrating model comparison code (TODO).