Fills arrays with rand values