Add an implementation of the Rayleigh error model.