\vec{K}=\frac{\partial L}{\partial \dot{\vec{r_i}}}\times\vec{r_i}