Make _ref_dist an attribute
I found that the rescale to compute the median was increasing the cost of the distance marginalized likelihood by a significant amount, this will cache that computation.
Edited by Colm Talbot
I found that the rescale to compute the median was increasing the cost of the distance marginalized likelihood by a significant amount, this will cache that computation.