changed wrong starting value of second ego optimization. ego still not working correctly. probably call to lapack wrong. modified test.cpp for easier tests