Added spike for image recognition using multilayer perceptron