Utilising Kronecker Algebra to Detect Unexpected Behaviour in Distributed Systems