optimised bop::maths::det to use LU determinant method for matricies of size >=5