L=\sum_{i,k}a_{ik}(q)\dot{q_i}\dot{q_k}-U(q)
