Implemented RBM.FreeEnergy, which calculates the free energy of a given input very quickly