Initialization cleanup
nlocation
nlocation fix
Small typo fixes
Reorganized threshold models

Introduced make.threshold.model to simplify the threshold model
functions.
Cleanup
Cleanup
Altered treatment of missing values in threshold models
Bugfixes
Cleanup
Merge branch 'origin/master'

Conflicts:
	R/SGAT.R