Added more function declarations. Added @staticmethod to PKey.generate. Documented cipher.py and fixed some bugs