Move errors.m to src/performance folder
Optimize JADE/eig with expensive cost