Effects of absorbing layers on the propagation constants: A four layer model on desktop-computer applied to photodetectors monolithically integrated with optical waveguides