Improved RSA performance

Updated some PKA stuff, fixed a few spelling mistakes. Untested