Tools for Linear Dimension Reduction