Neural tree networks