we implement sd/ssd in both here: https://github.com/neurodata/brainlit/blob/develop/brainlit/algorithms/connect_fragments/trace_evaluation.py and here: https://github.com/neurodata/brainlit/blob/develop/brainlit/utils/Neuron_trace.py I think it should be a static (not a class) method, and it should only be defined once.