Added support for random feature.  Still unstable!
Fix unstability.

Fix proposed by @1k5. Thanks1
Merge pull request #2 from 1k5/testing

Added support for random feature.