Determining the number of principal components using a scree plot