Simple Matrix-Method Modeling for Avalanche Photodetectors With Arbitrary Layer Structures and Absorption/Multiplication Coefficients