Added convn_valid
Some changes to make softmax work