Analysis of Longshore Sediment Transport on Beaches