Parametric templates

Implemented templates are parametric which means they can adapt to the various height of the cross-section.