Text this: Understanding Deep Learning: Expected Spanning Dimension and Controlling the Flexibility of Neural Networks