3d Principal Stress Equation