need notes related to matrices and determinants for gate preparation