evaluate_inputs function

Compute all component inputs