Server improvements: including adjacency matrix and relative rotation matrix