Added O3 and unroll loop flags to compile script