Text this: Entropy, Free Energy, and Work of Restricted Boltzmann Machines