Various bugfixes and enhancements\
- Fix dm.shuffle() bug