Calculations for launch and distance