Change in the Mathematical Function Type Describing the Longitudinal Profile of a River through an Evolutionary Process