Variance masking function
var_mask(x, stp)
x
a vector of length n
n
stp
a positive real number (steepness of mask function)
Other kernel utility functions: warp_input()
warp_input()