R-matrix propagator with perfectly matched layers for the study of integrated optical components