A CMOS 3-D Imager Based on Single Photon Avalanche Diode