Several optimization

Move random uniform to array package
Check if tmp_out_grad is local_data or not in pool and rnorm layer, if it's, skip write
Count update time in predictor