Renamed tolerance var
Added iteration check based on error
Added svd3 option