Change simMat threshold to < 1 instead of <= 1 and see if it makes a diff.
Made threshold an input option
Start evaluation of domain to function mapping.
Added binding data and changed .Dom to .IPR
Added booleans to easily change settings.