Added helper function for calculation of vehicles random position.