minor
Merging bugfix/warnings into features/constraint.
constraints in spec
minor for csv writer
adding weighting class
Merging features/constraint into release.