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