Determining the number of principal components using the Kaiser method