modificated counting of velocity and density on slices
added new type of borders
minor changes
some computations
sub module upd
added borders moving in two different directions
computations with all debugged