Add a function for creating a custom structural element
Correct implementation of circular element generators