Merge pull request #112 from zfields/constrain

Fixed constrain() w/ tests and fixed test suite
Detangle SDK dependency graph.