updated main,numerics,structure and animate_trajectory (just the blit option)