Imaging, Detection, and Identification Algorithms for Position-Sensitive Gamma-Ray Detectors.