The `expDecay()` constructor creates an exponential decay model. It describes
how a signal decreases as a function of distance, controlled by a decay
rate parameter.
The decay function is defined as:
$$y = signal \times decay^{\left(\frac{x}{pdist}\right)}$$
where \(signal\) represents the initial intensity, \(decay\) controls
the rate of attenuation, and \(x\) is a vector of normalized distances.
The \(pdist\) parameter anchors the model such that: