Optimization of Process Parameters for Si Lateral PIN Photodiode