Before refactoring
Support exporting boot replications from matrixpls.sim
PLSc fixes and error checking to W.mod