Minor bug fix 1.05

bugs fixed in pixelwise and itiny
Minor bug fix 1.06
Merge pull request #83 from liboud/master

Bug fixes 1.06