Bug fix

- correcting name change from template to nucCH
- correct wrong negating of finding non-zero nucmask (5889)