added displacement-fixing code.

Also added a precompiler directive to sort out the issue where analysis won't run on a machine without lab stuff installed and wrote a procedure to fit the AFM sensitivity.
Merge branch 'master' of https://github.com/asanders/igor-pro