Numerical methods for computing angles between linear subspaces | Synapse