* Improve feature declaration
* Change segment property of State to bint, and add nr_headless function.
* Improved segmentation, with the zhang constraints.