couple of minor fixes in svd_truncation()