using functools.partial to define sigmas as a sub-function of SVD