How can I improve the alignment inside this matrix equation?
My Tex code is
\begin{equation}
\begin{bmatrix}
d\varepsilon_v\\
d\varepsilon_q
\end{bmatrix}
=
\left[
\begin{matrix}
\dfrac{1}{K^{'}} & 0 \\
0 & \dfrac{1}{3 G^{'}}
\end{matrix}
+\
\dfrac{
\begin{matrix}
\dfrac{\partial g}{\partial p^{'}} \dfrac{\partial f}{\partial q} &
\dfrac{\partial g}{\partial p^{'}} \dfrac{\partial f}{\partial q} \\
\dfrac{\partial g}{\partial q} \dfrac{\partial f}{\partial p^{'}} &
\dfrac{\partial g}{\partial q} \dfrac{\partial f}{\partial q}
\end{matrix}}{P}
\right]
\begin{bmatrix}
dp^{'}\\
dq
\end{bmatrix}
\label{eq:149}
\end{equation}