gradient_from_data function

gradient or taphonomic conditions from data