DFT+TN: A new method to accurately model complex materials from first principles