Galaxy Modelling using Bayesian Statistics