setting up 2 layer cnn to run