Added function: smartpca_batch