Added a system-based random number that can be called from any thread (fixes random noise generation errors)
Updated build and samples with latest version