small rebasing
removed unused properties and hard-coded values; rebased methods
removed bug in fitfunc2 (by slightly increasing redundancy)
added functionality to use pure absorption and/or phase grating
Merge branch 'development'