Finished adding in the Wallace corrections. Ready for testing.