Functional Equation for Primitive Dirichlet $L$-Functions