added formulas for 3 versions of eigen lib