Add to create materials facet from genreform

Additions to two locations
Merge branch 'patch-15' of https://github.com/jmbewley/ny3rs-xtf into jmbewley-patch-15

was requsted