Sufficient Dimension Reduction: Methods and Applications with R