removed fX and replaced it with the actual code
relaxed the constraint of ais_nodata of having the AIS logZ exactly equal to the exact logZ such that we accept 1% erorr
Merge pull request #656 from aalmah/master

fixes #78: AIS hasn't been run for some cases