added option use.lm in predictpPCA to use a subset for registration