generateIC function

Generic function for the generation of influence curves