Add g++ optimization flags in Makefile
Merge branch 'optim_flags' into rand_num_gen