Added check for Mat type in computation of the sum

- Modified weights as float
- Added ClfMilBoost destructor in onlineMIL