Variation-Based Linearization of Nonlinear Systems Evolving on SO (3) and S^2 | Synapse