Minor fix in function pca_optimize_snr(), return 1 instead of raising error for better pipelining
Minor fix in function pca_optimize_snr(), return 1 instead of raising error for better pipelining

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