corrected gamma sim

corrected gamma simulation