Add in tail

Basic thresholding for tail movement.