Cleaning

Still cleaning code
Removed many non-used functions

Improving image and itnegral images classes