Message length bugs fixed. SAGE can consistently encrypt/decrypt messages now.