derivative of a leaky relu matrix
matrix
Matrix leakyDeriv(Matrix matrix) { return matrix.performFunction((x) => x > 0 ? 1.0 : 0.01); }