<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dK_dr_via_X(self, X, X2):
 """ compute the derivative of K wrt X going through X """

        #a convenience function, so we can cache dK_dr
        return self.dK_dr(self._scaled_dist(X, X2))