Automatic Adaptive Mesh Refinement Using Arbitrarily Distributed Random Numbers.