remove an always true if statement
use argparse for test options; 0d PCA implies no PCA