Automated Discovery Of Fundamental Variables