added function to read the xmat from gcta output