How do I get Vertical and Lateral Speed?

thanks for this