How is Matrix K determined?
$ dY_1 = \frac{-1}{2} Y_1dt - Y_2dB_t $
$ dY_2 = \frac{-1}{2} Y_2dt - Y_1dB_t $
In matrix notation, the above equations can be written as:
$ dY(t) = \frac{-1}{2}Y(t)dt + KY(t)dB_t $
where K is equal to
$\begin{pmatrix}0&&-1\\1&&0\end{pmatrix}$