added parameters function to lenet to get parameter values
attempted to add class_gradients