add groupOn1 function
Haddock fix and version bump #160