Add input validation to Dice module. closes #86.