Write a function that returns the singular value decomposition
of the matrix in Scala (without the use of
external libraries)
def svd: (Matrix, Matrix, Matrix) = {
???
}