Add method to get output value for hidden nodes