implemented trust region in force layout
cleaned up unused code
added constraint solver trait
added ranking constraint mixin