code: def calculateHiddenLayerActivation(self, features):
      
      if self.activationFunction is "sig":
        H = sigmoidActFunc(features, self.inputWeights, self.bias)
      else:
        print " Unknown activation function type"
        raise NotImplementedError
      return H
docs: Calculate activation level of the hidden layer
      :param features feature matrix with dimension (numSamples, numInputs)
      :return: activation level (numSamples, numHiddenNeurons)