Python file for calculating velocity of voids