Improved error messages when an invalid number of contracted beads is specified
Merge pull request #15 from peastman/master

Improved error checking