An Effective Theory Approach to Understanding Neural Networks