The Langevin Equation for Generalized Coordinates