Initial speed calculation