Pymanopt: A Python Toolbox for Optimization on Manifolds using Automatic Differentiation