Added Writer Homogeneous matrix in xml file