Solved bug at ANNComponent::calculate() method