added formula for eigen 3.2.0