added a transformer from symmetric matrix to tri-diagonal matrix (this is only for internal purposes only yet, it will be used later)