RSA fits and works (finally!!!), plus multiple small changes here and there