Changing api of few functions to match v2.1

- Functions affected rotate, resize, histogram, meanshift
Merge pull request #278 from pavanky/api

Changing api of few functions to match v2.1