Create function to compare energies
Tests for positive T
Tests for boundaries
Corrections for Tests for boundaries