State symmetries in matrices and vectors on finite state spaces