finished sigmoidGradient and randInitializeWeights in ex4