CMOS Avalanche Photodiode for Imaging Applications