Bugfix for GAMMA node generation. Also fixed typo in LS and LE node generation.