rename trp matrix to adj_reach matrix, remove not needed defines