\begin{equation}
H_{ij} = \left\{\begin{array}{lcl}\epsilon_i;&\quad&i=j\\KS_{ij};&\quad&i\ne j\end{array}\right.
\end{equation}