Added complex constraints submission.
complex constraints slot list
Make Complex Constraints.
Remove old Restrictions specifications
cleanup
Added default length field.
Added correction for known terms
Fixed preference correction calculation.
Added total correction
added total correction
removed print statements
Added some error handling.