added the SVD function from http://www.alglib.net/download.php