Adding missing functionality for sequential LU factorization with partial pivoting.