evalIC function

Generic function for evaluating ICs