add implementation of the Emerson 1998 "plait" algorithm with Gaussian
weighting