Minor bug fix on output quality control

The quality control of the model selection based on the second smallest
eigen-value was dis-functioning due to wrong value of pca flag.