Correct a bug - d_s was ignored.
Working now.

What we want to do is generate the path distortion effects
automatically.