refactor(library): use new 'structure' command to define prod and sigma
refactor(library): use new 'structure' command to define prod and sigma