Large Margin Deep Networks for Classification