An FPGA-based Classification Architecture on Riemannian Manifolds