EI defined vars with calculations using givens

EI defined vars with calculations using givens