Interplay between structural and electronic properties with the metal-insulator transition in NdNiO3 thin films. (August 2021)