Optimizing Convolutional Neural Network Parameters for Better Image Classification