RMLR: Extending Multinomial Logistic Regression into General Geometries