- Fix an issue of reflections on one of the sides of the domain when using Metal backend
- Improve Swift Metal for Rayleigh calculations, passing scalar parameters now using an structure rather than buffers.
- Add the possibility to limit Rayleigh calculations to only certain distance, useful when forward propagating between Rayleigh and domains that are very close to the Rayleigh source. The Rayleigh functions now accept an optional MaxDistance parameter, which is >0, limits Rayleigh calculations to be less or equal to that distance. Use this with caution.