generate trainpositive and can svd a matrix and validate the result