Principal component analysis and total variance