Modifying MaxLocFunc and MaxLocPairFunc to use void* arguments in order to avoid problems with earlier versions of GCC (and perhaps many more compilers), and adding level1/UpdateDiagonal as a way to simplify two different matrix-sign-based control theory solvers.