Calculations for a projectile fired at an angle