debugging structured Gauss