Major progress on StirlingTable. Allocates and deallocates memory.