Added entry subframe; defined variables for dt, t0, X0, n and corresponding entries; X0 entries change dynamically depending on dimensions of system