Remove a dependancy on boost::random.

Remove a dependancy on boost::random. Use std::random instead.