Remove EigenValues3D and replace it by the n-dimensional EigenDecomposition.