Western researchers use math to decipher how machine learning works