Performance of the Three-Dimensional Track Imager (3-DTI) for Gamma-Ray Telescopes