add beam-nest-common

added beam-nest-common for PCAOp

also fixed a PCAOp initialization error of numPCA