added predict function for lenet, all_convolutions.