code for deeper, more manageable conv net