Applications Of Principal Component Analysis For Gamma-Ray Spectroscopy With Position-Sensitive Semiconductor Detectors