3D EM based on Schur decomposition