decomposition_model function

Decomposition modelling