added a method to vol2bird that retrieves the correct gate index. Should help fix issue #32.
C-side of the JNI interface to findNearbyGateIndex()
Java-side of the JNI interface to findNearbyGateIndex()
unit tests for findNearbyGateIndex()...all successful
replaced the calculation of iLocal everywhere with a call to the newly created findNearbyGateIndex() method. Should fix issue #32