Influence Functions for Dimension Reduction Methods