Two vectors, \(\mathbf{u}\) and \(\mathbf{v}\), are such that
$$\mathbf{u} = \begin{pmatrix} q \\ 1 \\ 6 \end{pmatrix} \quad \text{and} \quad \mathbf{v} = \begin{pmatrix} 8 \\ q - 1 \\ q^2 - 7 \end{pmatrix},$$
where \(q\) is a constant.
- Find the values of \(q\) for which \(\mathbf{u}\) is perpendicular to \(\mathbf{v}\). [3]
- Find the angle between \(\mathbf{u}\) and \(\mathbf{v}\) when \(q = 0\). [4]