[WIP] TruncatedSVD: Calculate explained variance.

Fixes #3047