modified dice.m and commented Dice Class

I modified the dice.m implementation to get rid of stuff that I didn’t
really need as well as commenting the code for the Dice class so people
can read to get a summary of what I’m doing