removes the stucture with the given index from the list of structures contained in caps.
Index of the structure to remove
See Implementation
removes the stucture with the given index from the list of structures contained in caps.