Wrote some code to implement dropout

Not 100% it's correct yet, but here we go.
Corrected the example and also dropping 0s from the data matrix
Fixed references
Merge pull request #1 from zachmayer/dropout

Dropout