Gravar-mail: Derivations of the Core Functions of the Maximum Entropy Theory of Ecology