Moved common functionality to _BasePCA base class, in preparation for
refactoring of common code