Add some wrap function, those function are related to calcHist sample that will implement later, currently put the wrapper in one module