implemented line inversion. added sylvester library for vector computation