Galaxy Distances in the Nearby Universe: Corrections for Peculiar Motions