Vigenere - First Version

Incorrect Formula
Vigenere - Encryption

Encryption works, decryption formula incorrect
Vigenere - Complete