The Exploration Of Small Molecules, Lanthanide Complexes, And Catalysis Using Electronic Structure Theory, Dynamics, And Machine Learning