Added in NeuralLM. Partition function still not working though