I think kazmath was deprecated from now. We should use new math function for doing this.