Wave propagation in slowly varying waveguides using a finite element approach. (3rd March 2019)