Riemannian Algebras of Low Dimension