New PCA functionality supporting multi-member data

Function has been generalized to handle fields, multifields, multimember fields and multimember multifields. The output structure varies accordingly.