Added thresholding functions and emboss filter.

Below thresholding functions are added.
Global thresholding
-------------------
* Simple binary thresholding
* Otsu's thresholding
* Iterative thresholding
Varible thresholding
-------------------
* Adpative local thresholding

emboss effect function

cleaned variables names and dead code