Fixed some gradient issues and cnn_infer2 issue