Evaluating the composition of Functions