Change generate_svd to with/as construct.
Fixed types.
Improved class BeamTransferNoSVD.