If \( A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ a & b & -1 \end{bmatrix} \), then \( A^2 \) is equal to