Testing the number of parameters with multidimensional MLP