add UD decomposition example