Understanding Deep Learning via Notions of Rank