<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def metric_tensor(self) -> np.ndarray: """ The metric tensor of the lattice. """

        return dot(self._matrix, self._matrix.T)