Improved projectile code for spells

Spells now travel in a straight line to their destination.