Maximum-likelihood Structuring of Probabilistic Neural Networks