Done

Optimized code, randomized r3 added boost feature to r2