Changed Forward and backward matrix, insert labels in rest