Four constant potential function of amorphous selenium and evaluation of its thermodynamic and acoustic properties