size_factors function

Get the size factors from a cds object.