cleaning svd output and improving and simplifying documentation