On efficiently computable functions, deep networks and sparse compositionality