Implements self.get_stress() function useful for ASE UnitCellFilter and StrainFilter constraint classes. The function gets the (3x3) stress tensor from self.get_final_stress() and returns the reduced stress tensor in Voigt notation.