Numerical Investigation of Sequence Modeling Theory using Controllable Memory Functions