Add cuda logic for decomposition on frame buffer management

Probably could be tuned a bunch but it provides correct answers (probably not as numerically stable as standard SVD)