<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def d_hkl(self, miller_index: Vector3Like) -> float: """ Returns the distance between the hkl plane and the origin Args: miller_index ([h,k,l]):
 Miller index of plane Returns: d_hkl (float) """


        gstar = self.reciprocal_lattice_crystallographic.metric_tensor
        hkl = np.array(miller_index)
        return 1 / ((dot(dot(hkl, gstar), hkl.T)) ** (1 / 2))