Machine learned molecular dynamics study of Jahn-Teller distortions in LaMnO3 and Ba2NaOsO6 | Synapse