Added possibility to ignore groups in NPT energy