Update gitignore
Minor fixes for building
Update year
Fixes issues for groups with only 1 element