Math Behind RNN - bepec.in