Fix bug in random forest example.
bump version to 0.5.0-M1