Text this: Algorithm for simulating melting polar ice, Earth internal movement and volcano eruption with 3-dimensional inertia tensor