Updated the point in polygon sources to do the same.
Fixed an error in Ray casting implementation of C code