As we tested in a local repository, we saw that the simulator generates error when the number of the links interacting with the ground is not equal to 2. In fact, the size of some matrices defined as fixed numbers assuming that there are 8 number of vertices. In this PR, we define the size of all matrices as a function of the total number of the vertices.
As we tested in a local repository, we saw that the simulator generates error when the number of the links interacting with the ground is not equal to 2. In fact, the size of some matrices defined as fixed numbers assuming that there are 8 number of vertices. In this PR, we define the size of all matrices as a function of the total number of the vertices.