NYMEX Diesel Oct. futures settle at $4.7764 a gallon