A Spline Theory of Deep Learning