Converting time velocity cube into depth velocity cube