Use a case class for SVD instead of a tuple