New callback smart pointer implementation for calculations