Handle failure in SamplePCA when matrix has fewer than k non-zero singular values (#2008)
Handle failure in SamplePCA when matrix has fewer than k non-zero singular values (#2008)

* Update SamplePCA.scala

* Update SamplePCA.scala

* Update SamplePCA.scala

* Update SamplePCA.scala

* Update SamplePCA.scala

danking/hail,hail-is/hail,cseed/hail,hail-is/hail,danking/hail,danking/hail,danking/hail,hail-is/hail,cseed/hail,cseed/hail,cseed/hail,cseed/hail,hail-is/hail,cseed/hail,danking/hail,hail-is/hail,cseed/hail,danking/hail,danking/hail,hail-is/hail,danking/hail,hail-is/hail,hail-is/hail,cseed/hail