Pattern formation in a thin layer of sediment