A direct formulation for the stretch tensor