Improved accuracy, added ENVI 5.0+ compatibility
Merge remote-tracking branch 'origin/v1.0.2'