R package for Common Principal Component Analysis (CPCA)