OPTIMIZATION OF NATURAL GAS GATHERING SYSTEMS AND GAS PLANTS