Create either a tetra element or a pyramid element using the original element node list and the new node created by the script.