Perceptron Partition Model to Minimize Input Matrix