removed reference to System.Drawing
Updated dllconfig
Fixed samples' errors
Refactored CvArr classes
Resolved code analysis errors