Geometric Applications of Principal Component Analysis