``d`` is not a standard scale parameter right? The ``d**2`` in the ``sqrt``s are making it different from the generic ``scale``.