A tunable approximately piecewise linear model derived from the modified probabilistic neural network