Fix a bug in PCA RDI
Fix a bug in PCA RDI

When PCA RDI is used, the maximum number of PCA components (K_KLIP) is limited to the number of frames of the science target. This is incorrect, the maximum number of components should be set by the number of frames of the reference library.

carlgogo/vip_exoplanets,henry-ngo/VIP,vortex-exoplanet/VIP