some code cleanup, phisical simulation with velocity and heat beta stadium