Relaxing the sharp density stratification and columnar motion assumptions in layered shallow water systems | Synapse