Angle for firing

Updated the code to calculate the angle needed to fire
Merge pull request #7 from reiffev/master

Angle for firing