Problem using U1 element (general beam section)

@dhondt That would be great, thank you very much. By the way, this recent thread discusses another potential bug related to general beam section and userbeam.inp test example: Doubt about userbeam.inp (U1) from ccx test

These issues seem to have the same cause and maybe they can be fixed in one go.