Spring Compression and Projectile Motion