Add the Cholesky factorisation to performance tests.
Several fixes for portability to older Linux machines.