Lens Imaging Formulas and Magnification