THERMODYNAMICAL INFORMATION ON QUARK MATTER FROM THE NUCLEON VALENCE QUARK DISTRIBUTION