Determining Distances to Galaxies, Part 1: Cepheid Variables