Which is not a factor that lead to the transformation of the American economy from agrarian to industrial?