Design and Simulation of 3-D CdTe Pillar Detectors