Fixed bug in SVD (reported by Jonathan Edwards)