Rankings and Preferences. New Results in Weighted Correlation and Weighted Principal Component Analysis with Applications