added formula for TMV linear algebra library